import React from "react";
import Taro from "@tarojs/taro";
import { View } from '@tarojs/components'
import './index.scss'
const EmptyComponents = (props) => {
    const { list = [], children } = props;
    if (list.length > 0) {
        return children
    }
    return (
        <View className={`EmptyComponents_box`}>
            暂无数据
        </View>
    );
}
export default EmptyComponents